package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the CC_STOREY database table.
 * 
 */
@Entity
@Table(name="CC_STOREY")
@NamedQuery(name="CcStorey.findAll", query="SELECT c FROM CcStorey c")
public class CcStorey implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(allocationSize=1,name="CC_STOREY_STOREYID_GENERATOR", sequenceName="SEQHIS")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CC_STOREY_STOREYID_GENERATOR")
	@Column(name="STOREY_ID")
	private long storeyId;

	@Column(name="SFLOOR_ID")
	private BigDecimal sfloorId;

	@Column(name="STO_NAME")
	private String stoName;

	public CcStorey() {
	}

	public long getStoreyId() {
		return this.storeyId;
	}

	public void setStoreyId(long storeyId) {
		this.storeyId = storeyId;
	}

	public BigDecimal getSfloorId() {
		return this.sfloorId;
	}

	public void setSfloorId(BigDecimal sfloorId) {
		this.sfloorId = sfloorId;
	}

	public String getStoName() {
		return this.stoName;
	}

	public void setStoName(String stoName) {
		this.stoName = stoName;
	}

}